package com.whp.yky.yky.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.whp.yky.yky.entity.Notice;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zwq
 * @since 2021-03-02
 */
public interface NoticeService extends IService<Notice> {

    IPage<Notice> getNoticeInfo (IPage<Notice> page);

    Notice getNoticeDetailInfo(Integer id);

    boolean insertNoticeDetailInfo(Notice notice);

    boolean saveNoticeDetailInfo(Notice notice);

    List<Notice> getNoticeList();


}
